package cn.rengy.learn.nacos.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.rengy.lang.ResultEntity;


@FeignClient(value = "learn-nacos-order",path = "/order")
public interface OrderFeignService {

    @RequestMapping("/findOrderByUserId/{userId}")
    public ResultEntity<?> findOrderByUserId(@PathVariable("userId") Integer userId);

}
